#include <jni.h>
#include <stdio.h>
#include "MyJni.h"
JNIEXPORT void JNICALL Java_TestJni_print
(JNIEnv *env, jobject obj, jstring str){
  jchar *s = (jchar *)(*env)->GetStringUTFChars(env,str,NULL);
  printf("this is from c %s\n",(char *)s);
  (*env)->ReleaseStringUTFChars(env,str,(const char *)s);
}
